/* Created by Aquariuslt on 5/20/17.*/


RegisterController.$inject = ['merchantService','$scope','$location'];
function RegisterController(foodsService,$scope,$location) {
  var $ = require('jquery');
  var vm = $scope.vm = {
      inconformity:false,
      show_error: true,
            show_type: 2
  };
  $('#nav').hide();  
        vm.submit = function () {
            console.log('submit')
            
            $('#basic_form').submit();
        }; 
  vm.pwdCheck = function(){
    var mpwd = $('#mpwd').val();
    var compwd = $('#compwd').val();
    if(mpwd==compwd){
        vm.inconformity = false;
    }else{
        vm.inconformity = true;
    }
  }
        



}

module.exports = RegisterController;